package com.baichuan.entity.stickyNote;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Author ldy
 * @Date 2022/8/1 18:17
 * @Description 便利贴
 * @Table t_sticky_note and t_sticky_note_update_log
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StickyNote {
    //修改id
    private String logId;

    //便利贴id
    private String stickyNoteId;

    //标题
    private String title;

    //内容
    private String content;

    //标签
    private String label;

    //等级
    private Integer grade;



    //是否公开 0不公开 1公开
    private Integer isPublic;

    //是否代办
    private Integer isAgency;
    //状态
    private Integer agencyState;

    //待办开始时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date agencyStartTime;

    //待办结束时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date agencyEndTime;

    //创建人
    private int createUser;

    //创建时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    //修改时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    //删除时间
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date deleteTime;
}
